//
//  UnitViewController.h
//  Growth
//
//  Created by Hobo.Chen on 1/5/12.
//  Copyright 2012 MEETStudio. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

#define kViewChangeAnimationDuration 0.25f

typedef enum{
	kPushLeft,
	kPushRight,
	kPushUp,
	kPushDown,
	
}ViewChangeAnimationType;


@interface UnitViewController : UIViewController {

}

- (void)addNextViewWith:(UIViewController *)conroller forView:(UIView *)forView animationType:(ViewChangeAnimationType)animationType insertIndex:(NSInteger)insertIndex;
- (void)addNextViewFlipWith:(UIViewController *)controller forView:(UIView *)forView isRight:(BOOL)isRight insertIndex:(NSInteger)insertIndex;
- (void)removeViewWith:(UIViewController *)controller animationType:(ViewChangeAnimationType)animationType;
- (void)removeViewFlipWith:(UIViewController *)controller isRight:(BOOL)isRight;

@end
